package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.BuyRecord;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.List;

public interface BuyRecordMapper {

    int insert(BuyRecord buyRecord);

    BuyRecord select(Long id);

    List<BuyRecord> list();

    int update(BuyRecord buyRecord);

    List<BuyRecord> selectForList(QueryObject qo);
}